@use '@scss/common' as *;

.bannerContent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.resourceTitle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  @include body;

  & {
    font-weight: 500;
  }
}

.skeleton {
  display: block;
  width: 100%;
  height: 1lh;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    var(--theme-success-150) 25%,
    var(--theme-success-200) 50%,
    var(--theme-success-150) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1s infinite linear;
}

.arrow {
  transition: transform 0.1s ease-in-out;
  transform: translateX(0);
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
